package com.battery.pojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;

@ApiModel(description = "租借订单类")
public class Order {
    @ApiModelProperty(name = "order_id", value = "押金订单id",required = true,example = "123")
    private int order_id;
    @ApiModelProperty(name = "order_create_time", value = "租借订单创建时间", example = "")
    private Timestamp order_create_time;
    @ApiModelProperty(name = "order_pay_time", value = "租借订单支付时间", example = "")
    private Timestamp order_pay_time;
    @ApiModelProperty(name = "order_status", value = "租借订单状态", example = "")
    private String order_status;
    @ApiModelProperty(name = "user_id", value = "租借订单所属用户id", example = "123")
    private int user_id;
    @ApiModelProperty(name = "sys_user_name", value = "租借订单所属代理人", example = "")
    private String sys_user_name;
    @ApiModelProperty(name = "mer_id", value = "租借订单所属商户id", example = "123")
    private int mer_id;
    @ApiModelProperty(name = "device_id", value = "租借订单所属", example = "123")
    private int device_id;
    @ApiModelProperty(name = "pb_id", value = "租借订单电源", example = "123")
    private int pb_id;
    @ApiModelProperty(name = "hours", value = "租借订单时间", example = "")
    private Timestamp hours;
    @ApiModelProperty(name = "pb_update_time", value = "租借订单电源更新时间", example = "")
    private Timestamp pb_update_time;
    @ApiModelProperty(name = "price", value = "租借订单电源更新时间", example = "123")
    private double price;
    
    public Order(int order_id, Timestamp order_create_time, Timestamp order_pay_time, String order_status, int user_id, String sys_user_name, int mer_id, int device_id, int pb_id, Timestamp hours, Timestamp pb_update_time, double price) {
        this.order_id = order_id;
        this.order_create_time = order_create_time;
        this.order_pay_time = order_pay_time;
        this.order_status = order_status;
        this.user_id = user_id;
        this.sys_user_name = sys_user_name;
        this.mer_id = mer_id;
        this.device_id = device_id;
        this.pb_id = pb_id;
        this.hours = hours;
        this.pb_update_time = pb_update_time;
        this.price = price;
    }
    public Order() {
        super();
    }
    public int getOrder_id() {
        return order_id;
    }

    public void setOrder_id(int order_id) {
        this.order_id = order_id;
    }

    public Timestamp getOrder_create_time() {
        return order_create_time;
    }

    public void setOrder_create_time(Timestamp order_create_time) {
        this.order_create_time = order_create_time;
    }

    public Timestamp getOrder_pay_time() {
        return order_pay_time;
    }

    public void setOrder_pay_time(Timestamp order_pay_time) {
        this.order_pay_time = order_pay_time;
    }

    public String getOrder_status() {
        return order_status;
    }

    public void setOrder_status(String order_status) {
        this.order_status = order_status;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getSys_user_name() {
        return sys_user_name;
    }

    public void setSys_user_name(String sys_user_name) {
        this.sys_user_name = sys_user_name;
    }

    public int getMer_id() {
        return mer_id;
    }

    public void setMer_id(int mer_id) {
        this.mer_id = mer_id;
    }

    public int getDevice_id() {
        return device_id;
    }

    public void setDevice_id(int device_id) {
        this.device_id = device_id;
    }

    public int getpb_id() {
        return pb_id;
    }

    public void setpb_id(int pb_id) {
        this.pb_id = pb_id;
    }

    public Timestamp getHours() {
        return hours;
    }

    public void setHours(Timestamp hours) {
        this.hours = hours;
    }

    public Timestamp getpb_update_time() {
        return pb_update_time;
    }

    public void setpb_update_time(Timestamp pb_update_time) {
        this.pb_update_time = pb_update_time;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
